package com.huacheng.cms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.huacheng.cms.model.Config;

@Repository
public interface ConfigMapper {
    int deleteByPrimaryKey(String key);

    int insertSelective(Config record);

    Config selectByPrimaryKey(String key);

    int updateByPrimaryKeySelective(Config record);

	int selectBySelectiveCount(Config record);

	List<Config> selectBySelective(@Param("record") Config record, @Param("offset") Long offset, @Param("rows") Long rows);

}